package com.example.mapper;

import com.example.utils.SecurityUtils;
import org.springframework.util.DigestUtils;

/**
 * Description:
 * User: 阿宾
 * Date: 2025-05-21
 * Time: 19:28
 */
public class MD5Utils {
    public static void main(String[] args) {
        String finalPassword = SecurityUtils.encrypt("123456");
        String finalPassword1 = SecurityUtils.encrypt("123456");
        System.out.println(finalPassword);
        System.out.println(finalPassword1);
        System.out.println(SecurityUtils.verify("123456", finalPassword));
    }

}
